# 商品中出现的异常
class DuplicateGid(Exception):
    """
    商品号重复

    """

    def __init__(self, value='商品号重复!'):
        self.value = value

    def __str__(self):
        return repr(self.value)
